package com.blb.exam.common.entity;


import com.blb.exam.common.util.DBField;

public class Subject {

  private long id;
  @DBField(fieldName = "subject_name")
  private String subjectName;


  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getSubjectName() {
    return subjectName;
  }

  public void setSubjectName(String subjectName) {
    this.subjectName = subjectName;
  }

  @Override
  public String toString() {
    return "Subject{" +
            "id=" + id +
            ", subjectName='" + subjectName + '\'' +
            '}';
  }
}
